Models

Quantum Ising model

qtealeaves.models.get_quantum_ising_1d(has_obc=True)[source]

Return quantum Ising model and its operators in one dimension for open boundary conditions.

Arguments

has_obcbool or list of bools, optional

Defines the boundary condition along each spatial dimension. If scalar is given, the boundary condition along each spatial dimension is assumed to be equal. Default to True

Returns

modelinstance of QuantumModel

Contains the Hamiltonian of the system.

ising_opsinstance of TNOperators

Contains the operators required for the quantum Ising model.

Details

The quantum Ising model comes with three parameters to be defined, i.e., the system size L, the external field g, and the interaction strength J. These need to be defined in the simulation dictionary.

qtealeaves.models.get_quantum_ising_2d(has_obc=True)[source]

Return quantum Ising model and its operators in two dimensions for open boundary conditions.

Arguments

has_obcbool or list of bools, optional

Defines the boundary condition along each spatial dimension. If scalar is given, the boundary condition along each spatial dimension is assumed to be equal. Default to True

Returns

modelinstance of QuantumModel

Contains the Hamiltonian of the system.

ising_opsinstance of TNOperators

Contains the operators required for the quantum Ising model.

Details

The quantum Ising model comes with three parameters to be defined, i.e., the system size L, the external field g, and the interaction strength J. These need to be defined in the simulation dictionary. The interaction J is independent of the spatial direction.

qtealeaves.models.get_quantum_ising_3d(has_obc=True)[source]

Return quantum Ising model and its operators in three dimensions for open boundary conditions.

Arguments

has_obcbool or list of bools, optional

Defines the boundary condition along each spatial dimension. If scalar is given, the boundary condition along each spatial dimension is assumed to be equal. Default to True

Returns

modelinstance of QuantumModel

Contains the Hamiltonian of the system.

ising_opsinstance of TNOperators

Contains the operators required for the quantum Ising model.

Details

The quantum Ising model comes with three parameters to be defined, i.e., the system size L, the external field g, and the interaction strength J. These need to be defined in the simulation dictionary. The interaction J is independent of the spatial direction.

XXZ model

qtealeaves.models.get_xxz_1d()[source]

Return the XXZ model and its operators in one dimension for open boundary conditions.

Returns

modelinstance of QuantumModel

Contains the Hamiltonian of the system.

xxz_opsinstance of TNOperators

Contains the operators required for the quantum Ising model.

Details

The XXZ models comes with four parameters to be defined, i.e., the system size L, the external field g, and the interaction strengths Jx and Jz. These need to be defined in the simulation dictionary.

Bose-Hubbard model

qtealeaves.models.get_bose_hubbard_1d()[source]

Return the Bose-Hubbard model and its operators in one dimension for open boundary conditions.

Returns

modelinstance of QuantumModel

Contains the Hamiltonian of the system.

bose_opsinstance of TNOperators

Contains the operators required for the quantum Ising model.

Details

The Bose-Hubbard model comes with three parameters to be defined, i.e., the system size L, the tunneling strength J, and the on-site interaction U.

qtealeaves.models.get_bose_hubbard_2d()[source]

Return the Bose-Hubbard model and its operators in one dimension for open boundary conditions.

Returns

modelinstance of QuantumModel

Contains the Hamiltonian of the system.

bose_opsinstance of TNOperators

Contains the operators required for the quantum Ising model.

Details

The Bose-Hubbard model comes with three parameters to be defined, i.e., the system size L, the tunneling strength J, and the on-site interaction U. The tunneling in x-direction and y-direction are equally strong.